package com.proxy;

/**
 * Created by 41579 on 2016/8/24.
 */
public class TaobaoProxy implements ITravel{
    ITravel obj;
    public TaobaoProxy(ITravel obj){
        this.obj = obj;
    }
    public void goTaiwan() {
        System.out.println("办理台湾通行证");
        System.out.println("办理台湾出入证");
        System.out.println("买去机票");
        obj.goTaiwan();
        System.out.println("买回来的机票");
    }
}
